package com.service;

import com.pojo.Excels;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.util.List;

/**
 * Created by wzl on 2017/10/22.
 */
@Service
public interface ExcelsService {
    void infoExcel(InputStream in,MultipartFile file) throws Exception;

    XSSFWorkbook outExcel() throws Exception;

    List<Excels> selectAll() throws Exception;
}
